/*
package com.jiazhong.junit5.pojo;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;

*/
/**
 * @Auther:shuXin
 *//*

//第一种方式：
//@ExtendWith(SpringExtension.class)
//@ContextConfiguration("classpath:bean.xml")
//第二种方式
@SpringJUnitConfig(locations = "classpath:bean.xml")
public class UserTestJunit5 {
    @Autowired
    private User user;

    @Test
    public void testUser() {
        System.out.println(user);
        user.run();
    }
}
*/
